package com.myblog.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.myblog.model.po.SysUser;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author 
 * @since 2022-08-29
 */
public interface SysUserService extends IService<SysUser> {


    SysUser findByMobile(String mobile);


    IPage<SysUser> selectPage(Page<SysUser> page, SysUser sysUser);

    SysUser findById(Long id);

    Boolean deleteByUserId(Long userId);

}
